import request from '@/utils/request'

// 批量上架
export function bulk_listings(data) {
    return request({
        url: '/business/automatic_shelves/bulk_listings',
        method: 'POST',
        data
    })
}


export function getProgress(taskId) {
    return request({
        url: `/business/automatic_shelves/progress/${taskId}`,
        method: 'GET'
    })
}



export function find({ ids, status }) {
    return request({
        url: `/system/api/magess/${ids}`,
        method: 'GET',
        params: {
            findstatus: status,
        },
    });
}


